Other Global Variables
The following global variables are available globally.
-
Indicates that an error occurred in MapboxDirections.
Declaration
Swift
public let MBDirectionsErrorDomain: String
-
By default, pedestrians are assumed to walk at an average rate of 1.42 meters per second (5.11 kilometers per hour or 3.18 miles per hour), corresponding to a typical preferred walking speed.
Declaration
Swift
public let MBDefaultWalkingSpeed: CLLocationSpeed
-
Pedestrians are assumed to walk no slower than 0.14 meters per second (0.50 kilometers per hour or 0.31 miles per hour) on average.
Declaration
Swift
public let MBMinimumWalkingSpeed: CLLocationSpeed
-
Pedestrians are assumed to walk no faster than 6.94 meters per second (25.0 kilometers per hour or 15.5 miles per hour) on average.
Declaration
Swift
public let MBMaximumWalkingSpeed: CLLocationSpeed